﻿package Level {
	import flash.display.MovieClip;
	import flash.text.TextField;
	import flash.text.TextFormat;
	import Personagens.Exercitos;
	
	
	
	public class Level extends MovieClip {
		
		public static var cenario:Cenario;		
		protected var MC_exercito:Exercitos;
		
		public static var barra_HP1 : Barra_HP1;
		public static var barra_XP1 : Barra_XP1;
		public static var barra_HP2 : Barra_HP2;
		public static var barra_XP2 : Barra_XP2;
		
		public var textoNome1 : TextField = new TextField();
		public var textoNome2 : TextField = new TextField();
		public var textoVida1 : TextField = new TextField();
		public var textoVida2 : TextField = new TextField();
		public var textoDano1 : TextField = new TextField();
		public var textoDano2 : TextField = new TextField();
		public var textoAlcance1 : TextField = new TextField();
		public var textoAlcance2 : TextField = new TextField();
		public var textoVelocidade1 : TextField = new TextField();
		public var textoVelocidade2 : TextField = new TextField();
		public var textoPreco1 : TextField = new TextField();
		public var textoPreco2 : TextField = new TextField();
		public var textoNivel1 : TextField = new TextField();
		public var textoNivel2 : TextField = new TextField();		
		public var formatoTexto1 : TextFormat =  new TextFormat();
		public var formatoTexto2 : TextFormat =  new TextFormat();
		
		public function Level() {
			formatoTexto1.size = 10;
			formatoTexto2.size = 10;
			formatoTexto1.align = "right";
			formatoTexto2.align = "left";
		}
		
		public function update () : void {
			MC_exercito.update();			
		}
	}	
}
